package com.rms.recruit_management_system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName(value = "resumes")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "简历类")
public class Resume implements Serializable {

    @TableId(value = "id",type= IdType.AUTO)
    @Schema(description = "简历id")
    private Integer id;
    @TableField(value = "user_id")
    @Schema(description = "用户id")
    private Integer userId;
    @TableField(value = "name")
    @Schema(description = "姓名")
    private String name;
    @TableField(value = "email")
    @Schema(description = "邮箱")
    private String email;
    @TableField(value = "phone")
    @Schema(description = "电话")
    private String phone;
    @TableField(value = "intention")
    @Schema(description = "意向")
    private String intention;
    @TableField(value = "summary")
    @Schema(description = "自我介绍")
    private String summary;
    @TableField(value = "education")
    @Schema(description = "教育经历")
    private String education;
    @TableField(value = "experience")
    @Schema(description = "工作经历")
    private String experience;
    @TableField(value = "skills")
    @Schema(description = "技能")
    private String skills;
    @TableField(value = "is_approved")
    @Schema(description = "是否通过审核")
    private Integer isApproved;
    @TableField(value = "is_invited")
    @Schema(description = "是否被邀请面试")
    private Integer isInvited;
    @TableField(value = "is_flag")
    @Schema(description = "是否被标记")
    private Integer isFlag;
    @TableField(value = "submit_time")
    @Schema(description = "提交时间")
    private LocalDateTime submitTime;
}
